package cn.wit.test;
/**
 * 主程序
 */
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;

public class Teris extends Application{
	
	public void start(Stage primaryStage) throws Exception{
		
		HBox container = new HBox();
		
		Board board =new Board();
		container.getChildren().add(board);
		
		OperationBoard operation = new OperationBoard();
		container.getChildren().add(operation);
		
		Scene scene = new Scene(container,600,600);
		
		//把场景设置给舞台
		primaryStage.setScene(scene);

		primaryStage.show();
	
	}
	
	public static void main(String[] args) {
		launch(args);
	}
}
